package com.sls.game.service;

import com.sls.core.socket.Head;
import com.sls.game.page.Pagination;
import com.sls.game.pojo.ebaimi.EbaimiProduct;
import com.sls.game.pojo.ebaimi.EbaimiResInfo;

public interface EBaiMiService {

	/**
	 * 同步产品
	 * 
	 * @param head
	 */
	public void saveSync(Head head);

	/**
	 * 账号余额查询
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public EbaimiResInfo balanceQuery(Head head);

	/**
	 * 订单查询
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public EbaimiResInfo orderQuery(String body, Head head);

	/**
	 * 获取对账内容
	 * 
	 * @param head
	 * @return
	 */
	public String checkAccount(Head head);

	/**
	 * 分页查询
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public Pagination<EbaimiProduct> queryPage(String body, Head head);

	/**
	 * 修改信息
	 * 
	 * @param body
	 * @param head
	 */
	public void update(String body, Head head);

	/**
	 * 详情查询
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public EbaimiProduct queryById(String body, Head head);

	/**
	 * 支付宝充值--订单查询
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @author Wangxuegang
	 * @date 2013-05-10
	 */
	public String queryOrderStatusOfZhifubao(String body, Head head);

	/**
	 * 支付宝充值--余额查询
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @author Wangxuegang
	 * @date 2013-05-10
	 */
	public String queryBalanceOfZhifubao(String body, Head head);

	/**
	 * 合作商单日对账接口
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @author Wangxuegang
	 * @date 2013-05-10
	 */
	public String saveCheckAccountOfZhifubao(String body, Head head);
	
	
	/**
	 * 支付宝商品--记录新增
	 * @param body
	 * @param head
	 * @return
	 * @author Wangxuegang
	 * @date 2013-05-11
	 */
	public String saveGoodsInfoOfZhifubao(String body, Head head);
	
	/**
	 * 支付宝商品--记录删除
	 * @param body
	 * @param head
	 * @return
	 *  @author Wangxuegang
	 * @date 2013-05-11
	 */
	public String deleteGoodsInfoOfZhifubao(String body, Head head);
	
	
	/**
	 * 合作方的易百米商户ID--查询
	 * @param body
	 * @param head
	 * @return
	 *  @author Wangxuegang
	 * @date 2013-05-13
	 */
	public String queryOid_loginid(String body, Head head);
	
	/**
	 * 对账表--分页查询
	 * @param body
	 * @param head
	 * @return
	 */
	public String queryBillTableByPage(String body, Head head);
	
	
	
	
	
	
	

}
